<%@page import="sopt.engSearch.NaverSearchProc"%>
<%@page import="java.util.ArrayList"%>
<%@page import="comm.util.SoptHashMap"%>
<%@page import="comm.util.RequestManager"%>
<%@page import="comm.util.CommUtil"%>
<%@page import="sopt.engSearch.TranslateProc"%>
<%@page import="statics.SoptVars"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	SoptHashMap hm = RequestManager.getRequest(request);
	String q = CommUtil.NVL(hm.get("Q").toString(),"");
	hm = NaverSearchProc.getShortcutUrl(q);
	if(hm.get("LINK").toString().length()==0){
		hm = NaverSearchProc.getShortcutUrl(TranslateProc.getTranslatedString(q,SoptVars.ENG_TO_KOR));
	}
%>    

<%if(hm.get("LINK").toString().length()>0){%>
<div id="shortcutBg">
	<div>
		<img src="../images/ico_eng.png" width="17" height="17"/>
		<b><%=q%></b>
		<img src="../images/ico_kor.png" width="17" height="17"/>
		<%=hm.get("LABEL")%>
	</div>
	<div>Shortcut : <a href='<%=hm.get("LINK")%>'><%=hm.get("LINK")%></a> by ®Naver</div>
</div>
<%} %>
